Versions:
KernRift is a self-hosted, zero-dependency systems programming language and compiler published by Pantelis Christou, currently at version v2.9.0 and distributed as a bare-metal toolchain consisting of two portable command-line tools: krc, the compiler itself, and kr, a fat-binary runner used to execute portable multi-platform binaries. Because the compiler is written entirely in KernRift itself, the project demonstrates genuine self-hosting capability, a notable characteristic among systems languages, and it carries no external dependencies, making it well suited to minimal, constrained, or security-sensitive environments where a heavy toolchain footprint is undesirable. The compiler targets native code for both x86_64 and ARM64 architectures and produces binaries for four operating systems—Linux, Windows, macOS, and Android—emitting the appropriate native object format for each platform, namely ELF, PE, and Mach-O, as well as universal fat binaries that bundle multiple architectures into a single artifact. This combination of cross-platform output and fat-binary support makes KernRift relevant to categories such as compiler toolchains, systems programming languages, cross-compilation utilities, and bare-metal development tools. Typical use cases include low-level systems programming, writing operating-system-adjacent or freestanding code without runtime dependencies, building native executables for desktop and mobile targets from a single toolchain, experimenting with compiler construction and self-hosting language design, and distributing portable binaries across heterogeneous hardware through the kr runner. Several versions of KernRift are available in the catalog, leading up to the current release. As a zero-dependency package with a compact two-binary installation, KernRift occupies a distinctive niche among native code compilers, emphasizing portability, self-sufficiency, and direct control over generated machine code across major operating systems and processor architectures.
Tags: